package com.android.inestpin.model.group;

import com.android.inestpin.utils.ConstantsUrl;
import com.chad.library.adapter.base.entity.MultiItemEntity;

import java.util.List;

/**
 * Created by Administrator on 2017/7/4.
 */

public class BrandClearanceData {
    private boolean flag;
    private int code;
    private int time;
    private String msg;
    private DataBean data;

    public boolean isFlag() {
        return flag;
    }

    public void setFlag(boolean flag) {
        this.flag = flag;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }
    public static  class  DataBean
    {
        private int cid;
        private int etime;
        private int list_total;
        private List<DataBean.Cat_listBean> cat_list;
        private List<DataBean.ListBean> list;

        public int getCid() {
            return cid;
        }

        public void setCid(int cid) {
            this.cid = cid;
        }

        public int getEtime() {
            return etime;
        }

        public void setEtime(int etime) {
            this.etime = etime;
        }

        public int getList_total() {
            return list_total;
        }

        public void setList_total(int list_total) {
            this.list_total = list_total;
        }

        public List<Cat_listBean> getCat_list() {
            return cat_list;
        }

        public void setCat_list(List<DataBean.Cat_listBean> cat_list) {
            this.cat_list = cat_list;
        }

        public List<DataBean.ListBean> getList() {
            return list;
        }

        public void setList(List<DataBean.ListBean> list) {
            this.list = list;
        }
        public static  class Cat_listBean
        {
            public Cat_listBean(String id,String name ){
                this.id= id;
                this.catname=name;
            }
            private String id;
            private String catname;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCatname() {
                return catname;
            }

            public void setCatname(String catname) {
                this.catname = catname;
            }
        }
        public static class ListBean implements MultiItemEntity
        {
            @Override
            public int getItemType() {

                return ConstantsUrl.BRANDDISCOUNTMAINITEMTYPE;
            }
            private String id;
            private String typeid;
            private String name;
            private String desc;
            private String price;
            private String team_price;
            private String team_num;
            private String img_src;
            private String img_cover;
            private String sell;
            private String thumb;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTypeid() {
                return typeid;
            }

            public void setTypeid(String typeid) {
                this.typeid = typeid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getTeam_price() {
                return team_price;
            }

            public void setTeam_price(String team_price) {
                this.team_price = team_price;
            }

            public String getTeam_num() {
                return team_num;
            }

            public void setTeam_num(String team_num) {
                this.team_num = team_num;
            }

            public String getImg_src() {
                return img_src;
            }

            public void setImg_src(String img_src) {
                this.img_src = img_src;
            }

            public String getImg_cover() {
                return img_cover;
            }

            public void setImg_cover(String img_cover) {
                this.img_cover = img_cover;
            }

            public String getSell() {
                return sell;
            }

            public void setSell(String sell) {
                this.sell = sell;
            }

            public String getThumb() {
                return thumb;
            }

            public void setThumb(String thumb) {
                this.thumb = thumb;
            }
        }
    }
}
